#include <stdio.h>

/*成绩等第*/

void main()
{
    int score;
    char grade;
    printf("Please enter a score:\n");
    scanf("%d",&score);
    grade=(score>=90?'A':(score>=60?'B':'C'));
    printf("%d belongs to %c",score,grade);
}